using SqlSugar;
using StudyCompanion.Core.Models;

namespace StudyCompanion.Entity.Study;

/// <summary>
///     2.8 课程
/// </summary>
[SugarTable("stu_course")]
public class StuCourseEntity : BaseEntity
{
    /// <summary>
    ///     课程名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     媒体地址
    /// </summary>
    public string MediumUrl { get; set; }

    /// <summary>
    ///     视频时长
    /// </summary>
    public int Duration { get; set; }

    /// <summary>
    ///     年级学科出版社的章节
    /// </summary>
    public long ClassSubjectSection { get; set; }

    /// <summary>
    ///     是否有效
    /// </summary>
    public bool IsValid { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime FoundTime { get; set; }

    /// <summary>
    ///     排序
    /// </summary>
    public int Sort { get; set; }
}